<script type="text/javascript" >

var grid_demo_id2 = "myGrid2" ;


var dsOption2= {

	fields :[
		{name : 'Id_Commande'  },
		{name : 'Date_debut'  },
		{name : 'Date_fin'  },
		{name : 'Etat'  },
		{name : 'GLN_Client' },
		{name : 'Offres'},
		{name : 'Operations'}
			],
	recordType : 'array'
}



var colsOption2 = [
     {id: 'Id_Commande' , header: "N&#176" , width :30  },
     {id: 'Date_debut' , header: "Debut preparation" , width :80  },
	 {id: 'Date_fin' , header: "Fin preparation" , width :80  },
	 {id: 'Etat' , header: "Etat" , width :80  },
	 {id: 'GLN_Client' , header: "GLN_Client" , width :80},
	 {id: 'Offres' , header: 'Offres', width : 60},
	 {id: 'Operations' , header: "Op&eacute;rations", width : 60},
];


var gridOption2={
	id : grid_demo_id2,
	loadURL : "_fct/Fmp/CommandeController2.php",
	width: 475,//"100%", // 700,
	height: 160,//"100%", // 330,
	container : 'gridbox2', 
	replaceContainer : true, 
	encoding : 'UTF-8', // Sigma.$encoding(), 
	dataset : dsOption2 ,
	columns : colsOption2 ,
	skin: "vista",
	pageSize:100,
	toolbarContent : 'reload'
};

var mygridz=new Sigma.Grid( gridOption2 );
Sigma.Util.onLoad(function(){mygridz.render()});

//////////////////////////////////////////////////////////

</script>
		<p class="title">Commandes pretes &#224 livrer :</p>
   		<div id="bigbox" style="display:!none;">
   			<div id="gridbox2" style="border:0px solid #cccccc;background-color:#f3f3f3;padding:5px;height:200px;width:700px;" ></div>
    	</div>